package com.mes.dao.lc;

import com.mes.entity.lc.MaterialStock;
import com.mes.entity.lc.Stockfy;
import java.util.List;
public interface MaterialStockMapper {
	
	/**
	 * 带条件的分页查询
	 * @param stockfy
	 * @return
	 */
	List<MaterialStock> selectfycx(Stockfy stockfy);

	/**
	 * 查询总条数
	 * @param stockfy
	 * @return
	 */
	int selectfycxcont(Stockfy stockfy);
    
	/**
	 * 查询所有的物料库存
	 * @return
	 */
	List<MaterialStock> selectMaterialStock();
    
    
	/**
	 * hy根据物料id去lc的MaterialStock表中查询条形码和批次号
	 */
	MaterialStock sel(Long id);
    
    
    
    
    
    
    
    
}